package game;

/**
 * 士兵
 */
public class Soldier extends Role{
    public Soldier(String name,int level){
        super(name,level);
        this.setHpWeight(12);
        this.setAttackWeight(2);
        this.setDefineWeight(2);
        this.init();
    }
    public void crazy(){
        this.setHp(this.getHp() / 2);
        this.setAttackValue(this.getAttackValue() * 2);
        this.setDefineValue(this.getDefineValue() * 2);
    }
}
